package top.bugger168.content.mapper;

import top.bugger168.content.model.dto.TeachplanDto;
import top.bugger168.content.model.po.Teachplan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 课程计划 Mapper 接口
 * </p>
 *
 * @author bugger
 */
public interface TeachplanMapper extends BaseMapper<Teachplan> {
    /**
     * 查询某课程的课程计划,组成树形结构
     * @param courseId 查询id
     * @return top/bugger168/content/model/dto/EditCourseDto.java
     */
    List<TeachplanDto> selectTreeNodes(long courseId);
}
